<%@ page language="java" pageEncoding="utf-8" %>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>系统人员管理</title>
    <%@ include file="/WEB-INF/taglib.jsp" %>
    <%@ include file="/WEB-INF/jsp/loading.jsp" %>
    <%@ include file="/WEB-INF/jsp/include.jsp" %>
    <%--<script type="text/javascript" src="<%=path%>/resource/js/system/jquery.form.js"></script>--%>
    <script type="text/javascript">
        var path = "<%=path%>";

    </script>
</head>

<body style="margin:0px; padding:0px;">
<div class="easyui-layout" fit="true">
    <div id="AddDlgDiv" align="center" style="margin:5px; padding:5px;">
        <form id="user_form" method="post">
            <div id="divNorth" region="north" title="用户信息" border="true" noheader="false"
                 style="padding: 5px; height: 100px; background: none repeat scroll 0 0 #EFEFEF;">
                <table class="f_table" cellspacing="1">
                    <tr>
                        <td align="right" class="s_bg" style="width:100px;">
                            账号：
                        </td>
                        <td align="left" style="width:210px;">
                            <input type="text" id="userCode" name="userCode" style="width: 200px;"
                                   class="easyui-validatebox"
                                   data-options="required:true,validType:'length[0,20]'"/>
                        </td>
                        <td align="right" class="s_bg" style="width:100px;">
                            姓名：
                        </td>
                        <td align="left" style="width: 210px;">
                            <input type="text" id="userName" name="userName" style="width: 200px;"
                                   class="easyui-validatebox"
                                   data-options="required:true,validType:'length[0,20]'"/>
                        </td>
                    </tr>

                    <tr>
                        <td align="right" class="s_bg">
                            手机号码：
                        </td>
                        <td align="left" style="width:210px;">
                            <input type="text" id="phoneNo" name="phoneNo" maxlength="11" style="width: 200px;"
                                   class="easyui-validatebox"
                                   data-options="required:false,validType:'telphone'"/>
                        </td>
                        <td align="right" class="s_bg">
                            邮箱地址：
                        </td>
                        <td align="left" style="width: 200px;">
                            <input type="text" id="email" name="email" style="width: 200px;"
                                   class="easyui-validatebox"
                                   data-options="validType:'email',validType:'length[0,30]'"/>
                        </td>
                    </tr>
                </table>
                <input type="hidden" id="userId" name="userId" value=""/>
            </div>
            <%--<div class="easyui-layout" fit="true" border="false">--%>
            <div region="center" title="组织机构角色信息" border="true">
                <div id="tb" style="padding: 1px; height: auto;overflow: hidden; ">
                    <div style="overflow: hidden;">
                        <a id="btn_addNode_tb" href="javascript:void(0)" class="easyui-linkbutton"
                           iconcls="icon-add"
                           plain="false"
                           onclick="btnAddOrgRole()">机构权限分配</a>
                        <a id="btn_editNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-edit" plain="false"
                           onclick="btnEditNodeByGrid()">修改</a>
                        <a id="btn_delNode_tb" href="javascript:void(0)" class="easyui-linkbutton"
                           iconcls="icon-remove"
                           plain="false"
                           onclick="btnDelNodeByGrid()">删除</a>
                    </div>
                </div>
                <div region="center" title="已分配的机构与角色权限" border="false" noheader="true"
                     style="padding: 5px 0 0 0;height: 50%">
                    <table id="tt" title="" border="false"></table>
                </div>
            </div>
            <%--</div>--%>
        </form>

        <div align="center" style="margin-top: 15px;">
            <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-ok" onclick="submit_Add()">确定</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel" onclick="closeLayer();">取消</a>
        </div>
    </div>
</div>
</div>
</body>
<script type="text/javascript" src="<%=path%>/resource/js/system/user/add.js?time=<%=Math.random()%>"></script>

</html>
